//
//  CSPaymentWayHeader.m
//  JiFengDaRen
//
//  Created by SH_iOS on 2018/1/17.
//  Copyright © 2018年 SH_iOS. All rights reserved.
//

#import "CSPaymentWayHeader.h"

@implementation CSPaymentWayHeader

- (instancetype)initWithFrame:(CGRect)frame{
    
    self = [super initWithFrame:frame];
    if(self){
        
       
        
        UIView *contenView = [[UIView alloc]initWithFrame:CGRectMake(0,__I6Height(15), KScreenWidth, __I6Height(45))];
        contenView.backgroundColor = [UIColor whiteColor];
        [self addSubview:contenView];
        
        SHLabel *leftLabel = [SHLabel labelWithTextFont:11 textColor:KSHTEXTCOLOR textAlignment:NSTextAlignmentLeft];
        leftLabel.frame  = CGRectMake(__I6Width(12),__I6Height(45)/2 - __I6Height(12)/2,__I6Width(120), __I6Height(12));
        leftLabel.text = @"请选择支付方式 ：";
        [contenView addSubview:leftLabel];
        
        UIView *headerLine  = [[UIView alloc]initWithFrame:CGRectMake(0, __I6Height(45) - 0.5, KScreenWidth, 0.5)];
        headerLine.backgroundColor = KLINECOLOR;
        [contenView addSubview:headerLine];

    }
    
    return  self;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
